package com.sunyard.dal.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@ApiModel
public class TaskDetailBO extends BaseBO {
    private static final long serialVersionUID = 5342241603406769520L;
    /**
     * 任务编号
     */
    @ApiModelProperty(value = "任务编号", required = true)
    @NotBlank(message = "任务编号不能为空")
    private String taskId;
    /**
     * 硬件序列号
     */
    @ApiModelProperty(value = "硬件序列号")
    @Size(max = 64, message = "硬件序列号不超过64位")
    private String deviceSn;
    /**
     * 终端组名称
     */
    @ApiModelProperty(value = "终端组名称")
    private String groupId;
}
